<div class="pageHeader">
<form id="pagerForm" action="__URL__" method="post">
  
  <input type="hidden" name="account" value="{$_REQUEST.account}"/>
  <input type="hidden" name="orderField" value="{$_REQUEST.orderField}">
        <input type="hidden" name="orderDirection" value="{$_REQUEST.orderDirection}">
    <input type="hidden" name="pageNum" value="{$_REQUEST['pageNum']|default=1}"/>
  <input type="hidden" name="numPerPage" value="{$numPerPage}"/>
   
    
</form>
          <form onsubmit="return navTabSearch(this);"  class="form-inline" action="__URL__" method="post">
                  <div class="form-group">
                      <label>用户名：</label><input type="text" value="{$_REQUEST.account}" name="account" class="form-control" size="15" />
                  </div>
                  <div class="form-group">
                     
                  </div>
                  <div class="form-group">
                      <button type="submit" class="btn btn-warning btn-sm"><i class="icon-search"></i> 查询</button>
                     <a class="btn btn-primary btn-sm" href="javascript:navTab.reload('', {clearQuery:true});"><i class="icon-undo"></i> 清空查询</a>
                     <a href="__URL__/add" target="dialog" rel="useradd" mask="true" minable="true" width="500" height="400" class="btn btn-primary btn-sm"><i class="icon-plus"></i> 新增</a>
                 
                  </div>
                  <div class="form-group">
                     <a width="500" height="400" class="btn btn-primary btn-sm"> 总共{$ausers.smssum}条</a>
                     <a width="500" height="400" class="btn btn-primary btn-sm"> 已分出{$ausers.count}条</a>
                 
                  </div>
                   
                 <div class="pull-right btn-group">
                  <button data-toggle="dropdown" class="btn btn-success dropdown-toggle btn-sm" type="button"><i class="icon-list"></i> 批量操作<span class="caret"></span></button>
                  <ul role="menu" class="dropdown-menu">
                  <div class="log-arrow-up"></div>
                      <li><a href="__URL__/outxls/ids/all" target="dwzExport">导出<span style="color: green;">全部</span></a></li>
                      <li><a href="__URL__/outxls" target="checkedExport" idname="ids">导出<span style="color: red;">选中</span></a></li>
                      <li class="divider"></li>
                      <li><a href="__URL__/selectedDelete"  title="确定要删除选中信息吗？" target="checkedAjaxTodo" idname="ids">删除选中</a></li>
                  </ul>
                </div>
          </form>

    
</div>



<div class="pageContent">
    <table class="j-table" width="100%" layoutH="95">
        <thead>
            <tr>
            
            <th>编号</th>
        <th>用户名</th>
        <th>姓名</th>
        <th>权限组</th>
        <th class="orderby <eq name="order" value="create_time">{$sortImg}</eq>" orderField="create_time">添加时间</th>
        <th>上次登录</th>
        <th class="orderby <eq name="order" value="login_count">{$sortImg}</eq>" orderField="login_count">短信条数(总)</th>
        <th class="orderby <eq name="order" value="login_count">{$sortImg}</eq>" orderField="login_count">短信条数(可用)</th>
        <th class="orderby <eq name="order" value="login_count">{$sortImg}</eq>" orderField="login_count">登录次数</th>
        <th class="orderby <eq name="order" value="status">{$sortImg}</eq>" orderField="status">状态</th>
               
                <th width="30"><input type="checkbox" class="checkboxCtrl j-icheck" group="ids"></th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>

           <volist id="vo" name="list">
            <tr> <td>{$vo['id']}</td>
          <td>{$vo['account']}</td>
          <td>{$vo['nickname']}</td>
          <td>{$vo['id']|getGroupNameByUserId=$vo['id']}</td>
          <td>{$vo['create_time']|date="Y-m-d",###}</td>
          <td>{$vo['last_login_time']|date="Y-m-d H:i:s",###}</td>
          <td>{$vo['smssums']}</td>
          <td>{$vo['smssum']}</td>
          <td>{$vo['login_count']}</td>
                <td>{$vo['status']|getStatus}</td>
                <td>
                  <if condition="$vo['id'] neq 1">
                    <input type="checkbox" name="ids" class="j-icheck" value="{$vo['id']}">
                  </if>
                </td>
                <td>
                <if condition="$vo['id'] neq 1"> 
                  <div class="btn-group  btn-group-xs">  
                    <a href="__URL__/edit/id/{$vo['id']}/navTabId/{:CONTROLLER_NAME}"   class="btn btn-primary" target="dialog"  mask="true"  width="500" height="400" ><i class="icon-edit"></i> 编辑</a>
                    <a href="__URL__/password/id/{$vo['id']}/navTabId/{:CONTROLLER_NAME}"  class="btn btn-warning" target="dialog" mask="true" ><span>修改密码</span></a>
                    {$vo['status']|showStatus=$vo['id'],CONTROLLER_NAME}
                    <a href="__URL__/foreverdelete/id/{$vo['id']}/navTabId/{:CONTROLLER_NAME}" class="btn btn-danger" target="ajaxTodo" title="确定要删除该行信息吗？"><i style="font-size:12px;" class="icon-trash"></i> 删除</a>
                    </div>
                  </if>
                </td>
            </tr>
            
          </volist>
        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages pull-left">
            
            <span>共 {$totalCount} 条</span>
        </div>

   
        <div class="pagination-box" targettype="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}">
        </div>
    </div>
</div>